package com.ruoyi.hospital.domain.member;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就诊人对象 member_con_info
 * 
 * @author wendao
 * @date 2024-10-23
 */
public class MemberConInfo extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String trueName;

    private String phone;
    private Integer sex;
    private String birthday;
    /** 与本人关系 */
    @Excel(name = "与本人关系")
    private Integer relation;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idcard;

    /** 会员id */
    @Excel(name = "会员id")
    private Integer memberId;

    @Excel(name = "遗传病史")
    private String genetic; //遗传病史

    @Excel(name = "过敏药物")
    private String allergy; //过敏药物

    @Excel(name = "其他")
    private String other; //其他

    private String remark;

    /** 删除时间 */
    private Integer deleteTime;


    public String getGenetic() {
        return genetic;
    }

    public void setGenetic(String genetic) {
        this.genetic = genetic;
    }

    public String getAllergy() {
        return allergy;
    }

    public void setAllergy(String allergy) {
        this.allergy = allergy;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTrueName(String trueName) 
    {
        this.trueName = trueName;
    }

    public String getTrueName() 
    {
        return trueName;
    }
    public void setRelation(Integer relation) 
    {
        this.relation = relation;
    }

    public Integer getRelation() 
    {
        return relation;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trueName", getTrueName())
            .append("relation", getRelation())
            .append("idcard", getIdcard())
            .append("memberId", getMemberId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
